package cn.jiyun.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@ToString
@Data
//营销设置
@TableName(value = "product_settings")
public class Settings {
    @TableId(value = "settings_id",type = IdType.AUTO)
    private Integer settingsId;
    @TableField("sold_num")
    private Integer settingsSoldNum;
    @TableField("sort")
    private Integer settingsSort;
    @TableField("send_score")
    private Integer settingsSendScore;
    @TableField("send_ticket")
    private String settingsSendTicket;
    @TableField("corr_user")
    private String settingsCorrUser;
    @TableField("vip_exclu")
    private Integer settingsVipExclu;
    @TableField("alone_settings")
    private String settingsAloneSettings;
    @TableField("buy_num")
    private  Integer settingsBuyNum;
    @TableField("limit_buy")
    private    Integer settingsLimitBuy;
    @TableField("limit_buy_type")
    private Integer settingsLimitBuyType;
    @TableField("limit_buy_num")
    private Integer settingsLimitBuyNum;
    @TableField("pre_sold_comm")
    private Integer settingsPreSoldComm;
    @TableField("pre_sold_starttime")
    private Date settingsPreSoldStarttime;
    @TableField("pre_sold_endtime")
    private Date settingsPreSoldEndtime;
    @TableField("pre_sold_deltime")
    private Integer settingsPreSoldDeltime;
    @TableField("comm_tui")
    private String settingsCommTui;
    @TableField("activity_priority")
    private String settingsActivityPriority;
    @TableField("comm_tui_fine")
    private String settingsCommTuiFine;
    @TableField("base_id")
    private Integer settingsBaseId;
}
